Import an external file.
Coming soonPOST/partner/v1.0/organizations/:organizationId/imports
Import an external file.
Request
Path Parameters
The ID of the organization
- multipart/form-data
Body
The file for the import. The file must use JSON Lines format.
Possible values: [Product, Purchase Orders, Product Assessment]
Possible values: [Create, Create And Update, Update]
Responses
- 202
- 400
- 413
Accepted
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Unique identifier for tracking the import.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]
Status types for import jobs.
Total number of records in the import.
Name of the file being imported.
{
"importId": "string",
"status": "Accepted",
"totalRecords": 0,
"fileName": "string"
}
- Schema
- Example (from schema)
Schema
Unique identifier for tracking the import.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]
Status types for import jobs.
Total number of records in the import.
Name of the file being imported.
{
"importId": "string",
"status": "Accepted",
"totalRecords": 0,
"fileName": "string"
}
- Schema
- Example (from schema)
Schema
Unique identifier for tracking the import.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]
Status types for import jobs.
Total number of records in the import.
Name of the file being imported.
{
"importId": "string",
"status": "Accepted",
"totalRecords": 0,
"fileName": "string"
}
Bad Request
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Content Too Large
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}